package sharewithus.content.dao.impl;

import sharewithus.content.dao.IFeedDao;
import sharewithus.content.dto.Feed;
import framelib.dao.BaseDAOImpl;

public class FeedDaoImpl extends BaseDAOImpl implements IFeedDao{

	public void saveFeed(Feed feed) {

		 super.executeInsert("content.saveFeed", feed);
	}


	public Feed getFeedById(String feedId) {
		
		return (Feed)super.queryForObject("content.getFeed", feedId);

	}
	
	
	public void deleteFeed(String feedId){
		super.executeDelete("content.deleteFeed", feedId);
	}
	
}
